<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'tregister-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'REGISTER'); ?>
		<?php echo $form->textField($model,'REGISTER',array('size'=>8,'maxlength'=>8)); ?>
		<?php echo $form->error($model,'REGISTER'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'NONPLN'); ?>
		<?php echo $form->textField($model,'NONPLN',array('size'=>20,'maxlength'=>20)); ?>
		<?php echo $form->error($model,'NONPLN'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'KDVALAS'); ?>
		<?php echo $form->textField($model,'KDVALAS',array('size'=>3,'maxlength'=>3)); ?>
		<?php echo $form->error($model,'KDVALAS'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'PAGU'); ?>
		<?php echo $form->textField($model,'PAGU',array('size'=>-1,'maxlength'=>-1)); ?>
		<?php echo $form->error($model,'PAGU'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'TGLNPLN'); ?>
		<?php echo $form->textField($model,'TGLNPLN'); ?>
		<?php echo $form->error($model,'TGLNPLN'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'KDDONOR'); ?>
		<?php echo $form->textField($model,'KDDONOR',array('size'=>3,'maxlength'=>3)); ?>
		<?php echo $form->error($model,'KDDONOR'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'KDKREDITOR'); ?>
		<?php echo $form->textField($model,'KDKREDITOR',array('size'=>3,'maxlength'=>3)); ?>
		<?php echo $form->error($model,'KDKREDITOR'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'NMDONOR'); ?>
		<?php echo $form->textField($model,'NMDONOR',array('size'=>25,'maxlength'=>25)); ?>
		<?php echo $form->error($model,'NMDONOR'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'JMLPNRK'); ?>
		<?php echo $form->textField($model,'JMLPNRK',array('size'=>-1,'maxlength'=>-1)); ?>
		<?php echo $form->error($model,'JMLPNRK'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'CLOSINGDAT'); ?>
		<?php echo $form->textField($model,'CLOSINGDAT'); ?>
		<?php echo $form->error($model,'CLOSINGDAT'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'STATUS'); ?>
		<?php echo $form->textField($model,'STATUS',array('size'=>1,'maxlength'=>1)); ?>
		<?php echo $form->error($model,'STATUS'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'KDUPDATE'); ?>
		<?php echo $form->textField($model,'KDUPDATE',array('size'=>1,'maxlength'=>1)); ?>
		<?php echo $form->error($model,'KDUPDATE'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'UPDATER'); ?>
		<?php echo $form->textField($model,'UPDATER',array('size'=>50,'maxlength'=>50)); ?>
		<?php echo $form->error($model,'UPDATER'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'TGLUPDATE'); ?>
		<?php echo $form->textField($model,'TGLUPDATE',array('size'=>-1,'maxlength'=>-1)); ?>
		<?php echo $form->error($model,'TGLUPDATE'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'_NullFlags'); ?>
		<?php echo $form->textField($model,'_NullFlags',array('size'=>-1,'maxlength'=>-1)); ?>
		<?php echo $form->error($model,'_NullFlags'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->